package systemsnapshot.svn;

/**
 *
 * @author eladh, alaah
 */

//This is the customized data type to hold registry OR command data
public class Command {
    
    //Instance variables
    private String proprtyName;
    private String proprtyPath;
    private String type;
    private String href;
    private String anchor;
    
    //Class Constructor
    public Command(String proprtyName, String proprtyPath, String href, String anchor, String type) {
        this.proprtyName = proprtyName;
        this.proprtyPath = proprtyPath;
        this.href = href;
        this.anchor = anchor;
        this.type = type;
    }
    
    //Name Getter
    public String getName() {
        return this.proprtyName;
    }
    
    //Path Getter
    public String getProprtyPath() {
        return this.proprtyPath;
    }
    
    //Anchor Getter
    public String getAnchor() {
        return anchor;
    }

    //href Getter
    public String getHref() {
        return href;
    }
    
    //Registry or Command Getter
    public String getType() {
        return type;
    }
}
